home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
batchlrn.arc
/
INTRO-1.HLP
< prev
next >
Wrap
Text File
|
1991-06-17
|
1KB
|
24 lines
If you find yourself using some of the same commands over and
over in your daily work you probably need A BATCH FILE. Batch
processing lets you combine any series of commands to perform
some frequently used task.You execute this series of commands
(the batch file) by typing just the NAME of the file itself:
To execute XYZ.BAT you would type: XYZ (only).
The commands in a batch file are executed in exactly the same
way as if you had executed them at your PC keyboard by typing
each and every one of the lines in the file separately! Each
of these FILES must carry the extension .BAT. This instructs
DOS to recognize them as such. DOS reads the batch file lines
performing the keystrokes you have entered there,>EXACTLY<the
same way, every time---error free!
Your uses of batch files are limited only by your imagination.
Other than the AUTOEXEC.BAT file (which is covered separately
here [In the next series])"batching" could be used to perform
repetetive tasks, moving thru several levels of sub-director-
ies>>to a program, to control a printer and to generally save
a lot of time and effort.For example,and while it may seem to
be a small thing, TIMEMASTER uses C.BAT in lieu of >"cls" and
M>BAT instead of >"type menu.doc".These files only save a few
keystrokes---others can save m-a-n-y, as you will learn. They
can perform an unlimited number of functions for you.